SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 48077: If a DBMS table has multiple indexes and DBINDEX=YES has been specified, an incorrect WHERE clause might be generated

DetailsAboutRate It

If you specify DBINDEX=yes in a LIBNAME statement when using the OLE DB engine, and the Database Management System (DBMS) table contains multiple indexes, the best index might not be chosen. The first index is chosen and is used by SAS to construct the query that is passed to the DBMS.

To circumvent this problem, do not use DBINDEX=YES. Instead, use the DBKEY data set option and specify the indexed columns.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS/ACCESS Interface to OLE DBMicrosoft® Windows® for 64-Bit Itanium-based Systems9.21_M29.2 TS2M3
Microsoft Windows Server 2003 Datacenter 64-bit Edition9.21_M29.2 TS2M3
Microsoft Windows Server 2003 Enterprise 64-bit Edition9.21_M29.2 TS2M3
Microsoft Windows XP 64-bit Edition9.21_M29.2 TS2M3
Microsoft® Windows® for x649.21_M29.4_M29.2 TS2M39.4 TS1M3
Microsoft Windows Server 2003 Datacenter Edition9.21_M29.2 TS2M3
Microsoft Windows Server 2003 Enterprise Edition9.21_M29.2 TS2M3
Microsoft Windows Server 2003 Standard Edition9.21_M29.2 TS2M3
Microsoft Windows Server 2003 for x649.21_M29.2 TS2M3
Microsoft Windows Server 20089.21_M29.4_M29.2 TS2M39.4 TS1M3
Microsoft Windows Server 2008 for x649.21_M29.4_M29.2 TS2M39.4 TS1M3
Microsoft Windows XP Professional9.21_M29.2 TS2M3
Windows 7 Enterprise 32 bit9.21_M29.4_M29.2 TS2M39.4 TS1M3
Windows 7 Enterprise x649.21_M29.4_M29.2 TS2M39.4 TS1M3
Windows 7 Home Premium 32 bit9.21_M29.4_M29.2 TS2M39.4 TS1M3
Windows 7 Home Premium x649.21_M29.4_M29.2 TS2M39.4 TS1M3
Windows 7 Professional 32 bit9.21_M29.4_M29.2 TS2M39.4 TS1M3
Windows 7 Professional x649.21_M29.4_M29.2 TS2M39.4 TS1M3
Windows 7 Ultimate 32 bit9.21_M29.4_M29.2 TS2M39.4 TS1M3
Windows 7 Ultimate x649.21_M29.4_M29.2 TS2M39.4 TS1M3
Windows Vista9.21_M29.2 TS2M3
Windows Vista for x649.21_M29.2 TS2M3
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.